package com.xncoding.design.ZhuangShiZhe.demo01;

public class ConcreteDecorator extends Component {
    private Component component;

    public ConcreteDecorator(Component component) {
        this.component = component;
    }

    @Override
    public void display() {
        component.display();
    }
}
